const mongoose = require('mongoose')
const { Schema, model } = mongoose

const userSchema = new Schema({
  username: { type: String, required: true },
  password: { type: String, required: true, select: false },
  __v: {type: Number, select: false}
})

module.exports = model('User', userSchema)